package com.foreverwin.mes.meapi.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ervin Chen
 * @since 2020-02-18
 */
@TableName("STORAGE_LOCATION")
public class StorageLocation extends Model<StorageLocation> {

    private static final long serialVersionUID = 1L;

   @TableField("HANDLE")
   private String handle;
   @TableField("SITE")
   private String site;
   @TableField("STORAGE_LOCATION")
   private String storageLocation;
   @TableField("DESCRIPTION")
   private String description;
   @TableField("EWM_PUTAWAY_STORAGE_LOCATION")
   private String ewmPutawayStorageLocation;
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getStorageLocation() {
      return storageLocation;
   }

   public void setStorageLocation(String storageLocation) {
      this.storageLocation = storageLocation;
   }

   public String getDescription() {
      return description;
   }

   public void setDescription(String description) {
      this.description = description;
   }

   public String getEwmPutawayStorageLocation() {
      return ewmPutawayStorageLocation;
   }

   public void setEwmPutawayStorageLocation(String ewmPutawayStorageLocation) {
      this.ewmPutawayStorageLocation = ewmPutawayStorageLocation;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String STORAGE_LOCATION = "STORAGE_LOCATION";

   public static final String DESCRIPTION = "DESCRIPTION";

   public static final String EWM_PUTAWAY_STORAGE_LOCATION = "EWM_PUTAWAY_STORAGE_LOCATION";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "StorageLocation{" +
         "handle = " + handle +
         ", site = " + site +
         ", storageLocation = " + storageLocation +
         ", description = " + description +
         ", ewmPutawayStorageLocation = " + ewmPutawayStorageLocation +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}